package com.hw.one.transpot.entity;

/**
 * @Class DataTransporter
 * @Author guoshenzhen
 * @Date 2018/3/14  11:24
 */
public interface DataTransporter<T> {
    byte[] toByteArray(T t);
    void init(T t);
    String toJSON(T o);
}
